package com.hqyj.repertory.mapper;
import com.hqyj.repertory.model.OutRepertory;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
@Mapper
public interface OutRepertoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OutRepertory record);

    int insertSelective(OutRepertory record);

    OutRepertory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OutRepertory record);

    int updateByPrimaryKey(OutRepertory record);

    ArrayList<OutRepertory> queryAllOutRepertory();

    ArrayList<OutRepertory> queryOutRepertoryCondition();

    void updateOutRepertoryExceptType(OutRepertory outRepertory);

    int insertOutRepertoryByProductInfo(String productName, Integer saleAmount, String type);

    int insertOutRepertoryByGoodInfo(String tradeName, Integer pickingQuantity, String type);
}